package com.varian.misc;

import cn.hutool.core.util.StrUtil;
import org.springframework.boot.availability.AvailabilityChangeEvent;
import org.springframework.boot.availability.ReadinessState;

/**
 * @author ben
 * @since 2024/6/22
 */
public interface ApplicationStartedCustomizer {

    default String afterMessage(AvailabilityChangeEvent<ReadinessState> event) {
        return StrUtil.EMPTY;
    }

    default void afterExecute(AvailabilityChangeEvent<ReadinessState> event) {

    }

}
